

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>旅馆管理</title>
</head>

<body>
{{include_php file="left.php"}}
<form action="{{url controller=$ctrl action=$act}}" method="post">
{{if $hotelcontent.user_id}}
<input type="hidden" name="hotel_id" value="{{$hotelcontent.hotel_id}}" />
<input type="hidden" name="user_id" value="{{$hotelcontent.user_id}}" />
{{else}}
<input type="hidden" name="user_id" value="{{$user_id}}" />
{{/if}}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>* 旅馆类型：</td>
    <td><table id="rblHoteltype" border="0">
      {{if $hotelcontent.user_id}}
	  <tr>
        <td><input id="Hoteltype_0" type="radio" name="hotel_type" value="jing" {{if $hotelcontent.hotel_type=='jing'}} checked="checked"{{/if}} />经济型酒店</td>
        <td><input id="Hoteltype_1" type="radio" name="hotel_type" value="jia" {{if $hotelcontent.hotel_type=='jia'}} checked="checked"{{/if}} />家庭旅馆</td>
        <td><input id="Hoteltype_2" type="radio" name="hotel_type" value="qing" {{if $hotelcontent.hotel_type=='qing'}} checked="checked"{{/if}} />青年旅舍</td>
        <td><input id="Hoteltype_3" type="radio" name="hotel_type" value="nong" {{if $hotelcontent.hotel_type=='nong'}} checked="checked"{{/if}} />农家乐</td>
      </tr>
	  {{else}}
	  <tr>
        <td><input id="Hoteltype_0" type="radio" name="hotel_type" value="jing" />经济型酒店</td>
        <td><input id="Hoteltype_1" type="radio" name="hotel_type" value="jia" checked="checked" />家庭旅馆</td>
        <td><input id="Hoteltype_2" type="radio" name="hotel_type" value="qing" />青年旅舍</td>
        <td><input id="Hoteltype_3" type="radio" name="hotel_type" value="nong" />农家乐</td>
      </tr>
	  {{/if}}
    </table></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>城市：</span></td>
    <td>
	<select name="city_id">
		{{section name=city loop=$citylist}}
		<option value="{{$citylist[city].city_id}}" {{if $hotelcontent.city_id==$citylist[city].city_id}} selected="selected"{{/if}}>{{$citylist[city].city_name}}</option>
		{{/section}}
	</select>
	</td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>旅馆名称：</span></td>
    <td><input type="text" name="hotel_name" value="{{$hotelcontent.hotel_name}}"  /></td>
  </tr>
   <tr>
    <td><span class="td1"><span class="c1">* </span>旅馆图片：</span></td>
    <td><input type="file" name="hotel_pic"  /></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>旅馆简介：</span></td>
    <td><textarea name="hotel_Introduction">{{$hotelcontent.hotel_Introduction}}</textarea></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>订房电话：</span></td>
    <td><input type="text" name="hotel_tel1" value="{{$hotelcontent.hotel_tel1}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1">订房电话2：</span></td>
    <td><input type="text" name="hotel_tel2" value="{{$hotelcontent.hotel_tel2}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1">传真：</span></td>
    <td><input type="text" name="hotel_fax" value="{{$hotelcontent.hotel_fax}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1">移动电话：</span></td>
    <td><input type="text" name="hotel_mobile" value="{{$hotelcontent.hotel_mobile}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1">MSN：</span></td>
    <td><input type="text" name="hotel_msn" value="{{$hotelcontent.hotel_msn}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1">QQ：</span></td>
    <td><input type="text" name="hotel_qq" value="{{$hotelcontent.hotel_qq}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>订房联系人：</span></td>
    <td><input type="text" name="hotel_linkman" value="{{$hotelcontent.hotel_linkman}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1">旅馆网址：</span></td>
    <td><input type="text" name="hotel_url" value="{{$hotelcontent.hotel_url}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>旅馆地址：</span></td>
    <td><input type="text" name="hotel_address" value="{{$hotelcontent.hotel_address}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>旅馆特色描述：<br />
        <span style="color: #ff0000"> （用于搜索重要）</span></span></td>
    <td><input type="text" name="hotel_description" value="{{$hotelcontent.hotel_description}}"  /></td>
  </tr>
  <tr>
    <td><span class="td1">交通线路：</span></td>
    <td><textarea name="hotel_traffic">{{$hotelcontent.hotel_traffic}}</textarea></td>
  </tr>
  <tr>
    <td><span class="td1">补充说明：</span></td>
    <td><textarea name="hotel_explain">{{$hotelcontent.hotel_explain}}</textarea></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>负责人姓名：</span></td>
    <td><input type="text" name="hotel_responsible" value="{{$hotelcontent.hotel_responsible}}" /></td>
  </tr>
  <tr>
    <td><span class="td1">联系电话：</span></td>
    <td><input type="text" name="hotel_restel" value="{{$hotelcontent.hotel_restel}}" /></td>
  </tr>
  <tr>
    <td><span class="td1"><span class="c1">* </span>移动电话：</span></td>
    <td><input type="text" name="hotel_resmobile" value="{{$hotelcontent.hotel_resmobile}}" /></td>
  </tr>
  <tr>
    <td><span class="td1">Email：</span></td>
    <td><input type="text" name="hotel_resemail" value="{{$hotelcontent.hotel_resemail}}" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" value="提交" /></td>
  </tr>
</table>
</form>

</body>
</html>
